{% extends 'layouts/base.html' %}
{% block content %}
<div class="row">
    <div class="col-xs-12">
        <!-- PAGE CONTENT BEGINS -->
        <form class="form-horizontal" method="post" action="{{ url('backend/weixinapi/gettoken') }}" role="form" >
		  <div class="form-group {% if errors['appid'] is not empty %} has-error{%endif%}">
			<label for="appid" class="col-sm-2 control-label">appid:</label>
			<div class="col-sm-10">
			  <input type="text" class="form-control" name="appid" id="appid" placeholder="请输入">
			</div>
		  </div>
		  <div class="form-group {% if errors['secret'] is not empty %} has-error{%endif%} ">
			<label for="secret" class="col-sm-2 control-label">secret:</label>
			<div class="col-sm-10">
			  <input type="text" class="form-control" name="secret" id="secret" placeholder="请输入">
			</div>
		  </div>
            
		<!--  <div class="form-group ">
			<div class="col-sm-10 col-sm-offset-1">
				<h3>access_token: <small>saf45ds4f65a4f6d5s4f65a46</small></h3>
			</div>
		  </div> -->
		  <div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
			  <button id="token_subimt" type="submit" class="btn btn-info">提交</button>
			</div>
		  </div>
                <input type="hidden" value="1" name="act">
        </form>
    </div><!-- /.col -->
</div><!-- /.row -->
{% endblock %}

